export const PUBLISH_OPTIONS = [
    {label: '已发布', value: 'Yes'},
    {label: '未发布', value: 'No'}
]

export const ENABLE_OPTIONS = [
    {label: '已启用', value: 'Enable'},
    {label: '未启用', value: 'Disable'}
]

// 发起候选人类型
export const TYPE_OF_STARTER = [
    {label: '候选人', value: 'candidateUsers'},
    {label: '候选角色', value: 'candidateGroupsRole'},
    {label: '候选部门', value: 'candidateGroupsDept'},
]
// 审批候选人类型
export const TYPE_OF_APPROVER = [
    {label: '候选人', value: 'candidateUsers'},
    {label: '候选角色', value: 'candidateGroupsRole'},
    {label: '候选部门', value: 'candidateGroupsDept'},
    {label: '发起人', value: 'startUser'},
    {label: '发起人(本)部门负责人', value: 'startUserDeptManager'},
    {label: '发起人(本、上级)部门负责人', value: 'startUserSelfDeptManager'},
]

export const APP_MENU_OPEN_METHOD = {
    RightSideLookBord: '右侧看板',
    PopUpWindow: '弹窗',
    NewWebPage: '新的网页',
}

export const APP_MENU_TARGET_TYPE = {
    Link: '链接',
    Workflow: '工作流',
    IndexPage: '首页',
    FormOrView: '表单or视图',
}
export const DATA_TABLE_FIELD_TYPE = [
    {value: 'text', label: 'String'},
    {value: 'int4', label: 'Int4'},
    {value: 'int8', label: 'Int8'},
    {value: 'float8', label: 'Float8'},
    {value: 'decimal', label: 'Decimal'},
    {value: 'boolean', label: 'Boolean', disabled: true},
    {value: 'timestamp', label: 'Timestamp'},
    {value: 'jsonb', label: 'JsonB'},
    {value: 'public.geometry', label: 'Geometry'},
]

